package com.sgb.member.entity;

import android.text.TextUtils;

import java.io.Serializable;

/**
 * 会员商机动态
 */
public class BusinessOpportBean implements Serializable {


    /**
     * infoTime : 1615369413000
     * infoName : 陕西国际贸易有限公司发布了一条招标公告:测试定时任务通知
     * infoType : 招标公告
     * infoVerticalTypeName : 资格后审
     * infoAddress : 北京市北京市东城区内蒙古宾馆
     */

    private String id;
    private long infoTime;
    private String infoName;
    private String infoType;
    private String infoVerticalTypeName;
    private String infoAddress;

     // 招标公告 0 , 竞价采购  1
    public int isBiddingType() {
        return TextUtils.equals("招标公告", infoType) ? 0 : 1;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public long getInfoTime() {
        return infoTime;
    }

    public void setInfoTime(long infoTime) {
        this.infoTime = infoTime;
    }

    public String getInfoName() {
        return infoName;
    }

    public void setInfoName(String infoName) {
        this.infoName = infoName;
    }

    public String getInfoType() {
        return infoType;
    }

    public void setInfoType(String infoType) {
        this.infoType = infoType;
    }

    public String getInfoVerticalTypeName() {
        return infoVerticalTypeName;
    }

    public void setInfoVerticalTypeName(String infoVerticalTypeName) {
        this.infoVerticalTypeName = infoVerticalTypeName;
    }

    public String getInfoAddress() {
        return infoAddress;
    }

    public void setInfoAddress(String infoAddress) {
        this.infoAddress = infoAddress;
    }
}
